package com.yunhe.service;

import org.apache.ibatis.session.SqlSession;

import com.yun.dao.OrdersDao;
import com.yunhe.bean.Orders;
import com.yunhe.util.MySession;

public class AddOrders11 {
	public void AddOrder(Orders o){
		SqlSession se = MySession.getSession();
		OrdersDao mapper = se.getMapper(OrdersDao.class);
		mapper.AddOrder(o);
		se.commit();
	}
}
